<?php
defined('IN_ADMIN') or exit('No permission resources.');
$show_header = 1;
include $this->admin_tpl('header', 'admin');
?>
<table width="100%" class="table_form" style="margin: 0;">
    <tr id="step1">
        <td class="y-bg">
            <?php
            foreach ($admin_data as $groupid=>$admin_list) {
                echo '&nbsp;' . $member_group[$groupid] . '：<br />';
                echo form::checkbox($admin_list, $checkadmin1, 'name="checkadmin1[]"', '', 120) . '<hr />';
            }
            ?>
        </td>
    </tr>
    <tr id="step2" style="display:<?php if ($steps < 2) echo 'none'; ?>">
        <td class="y-bg">
            <?php
            foreach ($admin_data as $groupid=>$admin_list) {
                echo '&nbsp;' . $member_group[$groupid] . '：<br />';
                echo form::checkbox($admin_list, $checkadmin2, 'name="checkadmin2[]"', '', 120) . '<hr />';
            }
            ?>
        </td>
    </tr>
    <tr id="step3" style="display:<?php if ($steps < 3) echo 'none'; ?>">
        <td class="y-bg">
            <?php
            foreach ($admin_data as $groupid=>$admin_list) {
                echo '&nbsp;' . $member_group[$groupid] . '：<br />';
                echo form::checkbox($admin_list, $checkadmin3, 'name="checkadmin3[]"', '', 120) . '<hr />';
            }
            ?>
        </td>
    </tr>
    <tr id="step4" style="display:<?php if ($steps < 4) echo 'none'; ?>">
        <td class="y-bg">
            <?php
            foreach ($admin_data as $groupid=>$admin_list) {
                echo '&nbsp;' . $member_group[$groupid] . '：<br />';
                echo form::checkbox($admin_list, $checkadmin4, 'name="checkadmin4[]"', '', 120) . '<hr />';
            }
            ?>
        </td>
    </tr>
</table>

